<style scoped>

</style>
<template>
<div class="box">
<h2>{{dd}}</h2>
</div>
</template>

<script>
import {createNamespacedHelpers} from 'vuex';
const {mapState} = createNamespacedHelpers('yaowengang'); 
export default {
 computed: {
    // 在 `yaowengang` 中查找
    ...mapState({
      dd:state=>state.cc
    })
  },
}
</script>